package com.dm.shop.service;

import com.dm.shop.entity.ShopCart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dm.shop.vo.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MyBatisPlusGenerater-Saiya Wang
 * @since 2021-07-20
 */
public interface ShopCartService extends IService<ShopCart> {

    Result getShopCartInfo(int uid);

    Result delShopCartById(int uid,int pid);

    Result delAllShopCart(int uid);

    Result addShopCart(ShopCart shopCart);

}
